package com.lw.obj;

import com.lw.GameWin;
import com.lw.utils.GameUtils;

import java.awt.*;

/**
 * 蛇身
 */
public class BodyObj extends GameObj{

    public BodyObj(int x, int y, GameWin gameWin) {
        this(GameUtils.bodyImg, x, y, gameWin);
    }

    public BodyObj(Image image,int x, int y, GameWin gameWin) {
        super(image, x, y, gameWin);
    }

    @Override
    public void paintSelf(Graphics g) {
        super.paintSelf(g);
    }
}
